--
-- Displays a progress meter as youtube-dl downloads.
--
--- If no file is downloaded, or the program is not installed,
--- returns Right Nothing.
+-- If no file is downloaded, returns Right Nothing.
--
-- youtube-dl can write to multiple files, either temporary files, or
-- multiple videos found at the url, and git-annex needs only one file.
[] -> return (Right Nothing)
_ -> return (Left $ cmd ++ " download is incomplete. Run the command again to resume.")
Left msg -> return (Left msg)
- , return (Right Nothing)
+ , return (Left $ cmd ++ " is not installed.")
)
| otherwise = return (Right Nothing)
where
* tahoe: Fix bug that made initremote require an encryption= parameter,
despite git-annex encryption not being used with this special remote.
Fixes reversion introduced in version 7.20191230.
+ * Improved error message when yt-dlp is not installed and is needed to
+ get a file from the web.
* Removed support for git versions older than 2.22.
* Bump aws build dependency to 0.24.1.
* stack.yaml: Update to lts-24.2.